<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> </title>
</head>
<body class="mainbg" style="background-color:#FFFFFF"> 
<!-----------------------debug begin---------------------

Array
(
    [id] => 55
    [paytypekey] => rmb
    [user_id] => 2
    [orderid] => 201210282028042568
    [orderamount] => 16700
    [ordertime] => 
    [paytype] => 
    [dealid] => 
    [bankid] => 
    [bankdealid] => 
    [dealtime] => 
    [payamount] => 0
    [fee] => 0
    [payresult] => 
    [errcode] => 
    [signmsg] => 
    [clientip] => 127.0.0.1
    [callbackip] => 
    [accountflag] => 0
    [responseinfo] => 
    [memo] => 
    [created] => 2012-10-28 20:28:04
    [modified] => 2012-10-28 20:28:04
    [ended] => 0
    [trans_id] => 0
    [deleted] => 0
    [username] => 121212
    [user_name] => 王明智-->
		
	<table style="border-collapse:collapse;width:100%;">
		<tr>
			<td style="width:120px;vertical-align:top;text-align:right;padding:5px;border:1px solid #CCCCCC;background:#FFFFec">   充值状态：</td>
			<td style="width:280px;vertical-align:top;text-align:left;padding:5px;border:1px solid #CCCCCC;" colspan="3" > 
				<?PHP
				if($rs['ended'] == '0'){
					echo '<span style="color:red">等待支付</span>';
				}else{
					echo '<span style="color:green">完成充值</span>';
				}
				?>
			</td>   
		</tr>
		<tr>
			<td style="width:120px;vertical-align:top;text-align:right;padding:5px;border:1px solid #CCCCCC;background:#FFFFec">  会员：</td>
			<td style="width:280px;vertical-align:top;text-align:left;padding:5px;border:1px solid #CCCCCC;" >
				 ({$rs.username}){$rs.user_name}
			</td>  
			<td style="width:120px;vertical-align:top;text-align:right;padding:5px;border:1px solid #CCCCCC;background:#FFFFec">充值流水号：</td>
			<td style="width:280px;vertical-align:top;text-align:left;padding:5px;border:1px solid #CCCCCC;" >
				 {$rs.orderid} 
			</td>
		</tr>
		<tr>
			<td style="width:120px;vertical-align:top;text-align:right;padding:5px;border:1px solid #CCCCCC;background:#FFFFec">  充值金额：</td>
			<td style="width:280px;vertical-align:top;text-align:left;padding:5px;border:1px solid #CCCCCC;" >
				 {$rs.orderamount/100} 
			</td>  
			<td style="width:120px;vertical-align:top;text-align:right;padding:5px;border:1px solid #CCCCCC;background:#FFFFec">提交时间：</td>
			<td style="width:280px;vertical-align:top;text-align:left;padding:5px;border:1px solid #CCCCCC;" >
				 {$rs.ordertime} 
			</td>
		</tr>
		<tr>
			<td style="width:120px;vertical-align:top;text-align:right;padding:5px;border:1px solid #CCCCCC;background:#FFFFec">  支付方式：</td>
			<td style="width:280px;vertical-align:top;text-align:left;padding:5px;border:1px solid #CCCCCC;" > 
				 <?PHP
				 switch($rs['paytype']){
				 	 	case "00":
					 		echo '所有方式';
							break;
						case "10":
							echo '银行卡支付';
							break;
						case "11":
							echo '电话银行支付';
							break;
						case "12":
							echo '快钱账户支付';
							break;
						case "13":
							echo '线下支付';
							break;
				 }
				 ?>
				
			</td>  
			<td style="width:120px;vertical-align:top;text-align:right;padding:5px;border:1px solid #CCCCCC;background:#FFFFec">快钱交易号：</td>
			<td style="width:280px;vertical-align:top;text-align:left;padding:5px;border:1px solid #CCCCCC;" >
				 {$rs.dealid} 
			</td>
		</tr>
		<tr>
			<td style="width:120px;vertical-align:top;text-align:right;padding:5px;border:1px solid #CCCCCC;background:#FFFFec">  银行代码：</td>
			<td style="width:280px;vertical-align:top;text-align:left;padding:5px;border:1px solid #CCCCCC;" >
				 {$rs.bankid} 
			</td>  
			<td style="width:120px;vertical-align:top;text-align:right;padding:5px;border:1px solid #CCCCCC;background:#FFFFec">银行交易号：</td>
			<td style="width:280px;vertical-align:top;text-align:left;padding:5px;border:1px solid #CCCCCC;" >
				 {$rs.bankdealid} 
			</td>
		</tr>
		<tr>
			<td style="width:120px;vertical-align:top;text-align:right;padding:5px;border:1px solid #CCCCCC;background:#FFFFec">  快钱交易时间：</td>
			<td style="width:280px;vertical-align:top;text-align:left;padding:5px;border:1px solid #CCCCCC;" >
				 {$rs.dealtime} 
			</td>  
			<td style="width:120px;vertical-align:top;text-align:right;padding:5px;border:1px solid #CCCCCC;background:#FFFFec">支付结果：</td>
			<td style="width:280px;vertical-align:top;text-align:left;padding:5px;border:1px solid #CCCCCC;" >
				 {$rs.payresult} 
			</td>
		</tr>
		<tr>
			<td style="width:120px;vertical-align:top;text-align:right;padding:5px;border:1px solid #CCCCCC;background:#FFFFec">实际支付金额：</td>
			<td style="width:280px;vertical-align:top;text-align:left;padding:5px;border:1px solid #CCCCCC;" >
				 {$rs.payamount/100} 
			</td>
			<td style="width:120px;vertical-align:top;text-align:right;padding:5px;border:1px solid #CCCCCC;background:#FFFFec">  手续费：</td>
			<td style="width:280px;vertical-align:top;text-align:left;padding:5px;border:1px solid #CCCCCC;" >
				 {$rs.fee/100} 
			</td>  
		</tr>
		<tr>
			<td style="width:120px;vertical-align:top;text-align:right;padding:5px;border:1px solid #CCCCCC;background:#FFFFec">  客户端IP：</td>
			<td style="width:280px;vertical-align:top;text-align:left;padding:5px;border:1px solid #CCCCCC;" >
				 {$rs.clientip} 
			</td>  
			<td style="width:120px;vertical-align:top;text-align:right;padding:5px;border:1px solid #CCCCCC;background:#FFFFec">回写端IP：</td>
			<td style="width:280px;vertical-align:top;text-align:left;padding:5px;border:1px solid #CCCCCC;" >
				 {$rs.callbackip} 
			</td>
		</tr> 
		<tr>
			<td style="width:120px;vertical-align:top;text-align:right;padding:5px;border:1px solid #CCCCCC;background:#FFFFec">  备注：</td>
			<td style="width:280px;vertical-align:top;text-align:left;padding:5px;border:1px solid #CCCCCC;" colspan="3" >
				 {$rs.memo} 
			</td>   
		</tr>
		<tr>
			<td style="width:120px;vertical-align:top;text-align:right;padding:5px;border:1px solid #CCCCCC;background:#FFFFec">  创建日期：</td>
			<td style="width:280px;vertical-align:top;text-align:left;padding:5px;border:1px solid #CCCCCC;" >
				 {$rs.created} 
			</td>  
			<td style="width:120px;vertical-align:top;text-align:right;padding:5px;border:1px solid #CCCCCC;background:#FFFFec">最后修改日期：</td>
			<td style="width:280px;vertical-align:top;text-align:left;padding:5px;border:1px solid #CCCCCC;" >
				 {$rs.modified} 
			</td>
		</tr>
	</table>	
	
</body>
</html>